package com.nondo.dean.platform.model;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonSetter;

public class SessionBean implements Serializable{
    private static final long serialVersionUID = -4551892370251627978L;
    private String phone;
    private String sessionId;
    private Integer customerId;
    private String remarks;
    // 缓存存储，忽略输出
    private String openid;
    private String sessionKey;

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    @JsonIgnore
    public String getOpenid() {
        return openid;
    }

    @JsonSetter
    public void setOpenid(String openid) {
        this.openid = openid;
    }

    @JsonIgnore
    public String getSessionKey() {
        return sessionKey;
    }

    @JsonSetter
    public void setSessionKey(String sessionKey) {
        this.sessionKey = sessionKey;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

}
